home *** CD-ROM | disk | FTP | other *** search
/ Dino Crisis Digital Press Kit / Dino Crisis Digital Press Kit.iso / mac / s / 00082_Script_82 < prev    next >
Text File  |  1999-09-01  |  774b  |  32 lines

  1. on mousedown
  2.   global gSoundLevel
  3.   set the soundlevel to 0
  4.   puppetsprite 39, true
  5.   repeat while the stilldown
  6.     
  7.     put the mouseh into x
  8.     set the loch of sprite 39 to x
  9.     --------
  10.     put the loch of sprite 39 into k
  11.     set f = (k - 45) * 26
  12.     --put f into field "count"
  13.     set the movietime of sprite 10 to f
  14.     --------
  15.     updatestage
  16.   end repeat
  17. end
  18.  
  19. on mouseup
  20.   global gSoundLevel
  21.   set the soundlevel to gSoundLevel
  22.   set the movierate of sprite 10 to 1
  23.   set the locv of sprite 39 to 373
  24.   set the visible of sprite 19 to true
  25.   set the visible of sprite 20 to false
  26.   set the visible of sprite 21 to false
  27.   set the visible of sprite 22 to false
  28.   set the visible of sprite 23 to false
  29.   updatestage
  30.   checkblip
  31. end
  32.